#include <stdio.h>
int main(int argc, char * argv[])
{
	FILE * fh = fopen("message", "r");
	if (fh == NULL) 
	{
		printf("fopen fail\n");
		return -1; /* abnormal termination */
	}
	char line[80];
	while (! feof(fh))
	{
		fscanf(fh, "%s", line);
		printf("%s\n", line);
	}
	fclose(fh);
    return 0;
}
